package cn.kgc.crowd1048.fundingadmin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Controller;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwr
 * @since 2024-04-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@Getter
@Setter
@AllArgsConstructor // 生成一个包含所有字段的有参构造器
@NoArgsConstructor  // 生成一个无参构造器
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;



}
